package com.scuec.tourismwebsite.service;

import com.scuec.tourismwebsite.entity.FreeformPostLike;
import com.scuec.tourismwebsite.vo.OfficialLike;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FreeformPostLikeService {
    public List<OfficialLike> getOfficialLikesByUserId(int user_id);
    public int insertFreeformPostLike(@Param("user_id") int user_id, @Param("post_id") int post_id);
    public List<FreeformPostLike> selectFreeformPostLikeById(@Param("user_id") int user_id, @Param("post_id") int post_id);
    public int deleteFreeformPostLike(@Param("user_id") int user_id, @Param("post_id") int post_id);
}
